/**
 * Copyright (C), 2019-2020, 宇信融汇
 * FileName: Computer
 * Author:   xbliu
 * Date:     2020/6/29 16:15
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * xbliu           修改时间           版本号              描述
 */
package c_007.interfacedemo1;

/**
 * @Classname Computer
 * @Description TODO
 * @Date 2020/6/29 16:15
 * @Created by xbliu
 */
public class Computer {
    public void show(Cpu cpu,HardDisk hardDisk) {
        System.out.println("计算机组成如下");
        System.out.println("CPU是："+cpu.getBrand()+"，赫兹是："+cpu.getHz());
        System.out.println("硬盘是：" + hardDisk.getDisk());
    }
}
